package org.example.practice.service;

import org.example.commonapi.domain.Practice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.commonapi.dto.PracticeDto;
import org.example.commonapi.dto.PracticeInfoDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【practice】的数据库操作Service
* @createDate 2024-05-31 21:26:16
*/
public interface PracticeService extends IService<Practice> {


    List<PracticeInfoDto> list(Integer difficulty, Integer type, String name, String subject);

    List<PracticeInfoDto> list(Integer difficulty, Integer type, String name, String subject, Long teacherId);

    Long insert(Long id, Practice practice);

    void update(Practice practice);

    void delete(Long id);

    void deleteList(List<Long> ids);

    Practice getOne(Long id);
}
